package com.ming.stringstudy.feedbacksystem.service;

import com.ming.stringstudy.feedbacksystem.entity.RolePermission;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ming.stringstudy.feedbacksystem.pojo.PageBean;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author aming
 * @since 2025-01-04
 */
public interface IRolePermissionService extends IService<RolePermission> {
    PageBean page(Integer page, Integer pageSize);

    int addRolePermission(RolePermission rolePermission);

    int updateRolePermission(RolePermission rolePermission);

    int deleteRolePermission(List<Integer> ids);

    List<Integer> selectByRoleId(int roleId);
}
